package net.uhuijia.sys.syscode.clientservice;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import net.uhuijia.vo.sys.code.CodeVo;

@FeignClient(value = "UHUIJIA-SYS-PROVIDER-8006",fallbackFactory=SysCodeClientServiceFallbackFactory.class)
public interface SysCodeClientService {
	

	/**
	 * 根据key获得value 如果成功返回success
	 * @param type
	 * @return
	 */
	@RequestMapping(value = "/syscode/getCodesByType")
	public List<CodeVo> getCodesByType(String type);
	
	
}
